<?php View::content(); ?>
<?php echo Form::open() ?>
<fieldset>
<legend>Consulta de personas</legend>
<table class ="table table border table-hover" style ="margin: auto">
    <thead>
    <th>
        Nombre
    </th>
    <th>
        Apellido
    </th>
    <th>
        Cedula
    </th>
    <th>
        Email
    </th>
    <th>
        Acciones
    </th>
</thead>
<thead>
<?php foreach ($perso as $per) {?>
<tr>
<td>
    <?php echo $per->nombre;?>
</td>
<td>
    <?php echo $per->apellido;?>
</td>
<td>
    <?php echo $per->cedula;?>
</td>
<td>
    <?php echo $per->email;?>
</td>
<td>
    <?php echo Html::link('formuejemplo/modificar/'.$per->id,'Modificar',array('class'=>'button-link'))?>
    <?php echo Js::link('formuejemplo/eliminar/'.$per->id,'Eliminar','Estas seguro desea eliminar?',array('class'=>'button-link'))?>
</td>
</tr>
</thead>
<?php }?>

</fieldset>
</table>
